home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Snippets / Development Tools & Languages / Dialogs / UDialogs.h < prev   
Encoding:
Text File  |  1995-02-06  |  1.6 KB  |  105 lines  |  [TEXT/MPS ]

  1. // Copyright © 1991 Apple Computer, Inc. All rights reserved.
  2.  
  3. #ifndef __UDIALOGS__
  4. #define __UDIALOGS__
  5.  
  6. #ifndef __TYPES__
  7. #include <Types.h>
  8. #endif
  9.  
  10. #ifndef __MACAPPTYPES__
  11. #include <MacAppTypes.h>
  12. #endif
  13.  
  14. #ifndef __MEMORY__
  15. #include <Memory.h>
  16. #endif
  17.  
  18. #ifndef __UOBJECT__
  19. #include <UObject.h>
  20. #endif
  21.  
  22. #ifndef __ULIST__
  23. #include <UList.h>
  24. #endif
  25.  
  26. #ifndef __CONTROLS__
  27. #include <Controls.h>
  28. #endif
  29.  
  30. #ifndef __WINDOWS__
  31. #include <Windows.h>
  32. #endif
  33.  
  34. #ifndef __TEXTEDIT__
  35. #include <TextEdit.h>
  36. #endif
  37.  
  38. #ifndef __DIALOGS__
  39. #include <Dialogs.h>
  40. #endif
  41.  
  42. #ifndef __UEVENTHANDLER__
  43. #include <UEventHandler.h>
  44. #endif
  45.  
  46. #ifndef __UCCOMMANDHANDLER__
  47. #include <UCommandHandler.h>
  48. #endif
  49.  
  50. #ifndef __UAPPLICATION__
  51. #include <UApplication.h>
  52. #endif
  53.  
  54. #ifndef __UVIEW__
  55. #include <UView.h>
  56. #endif
  57.  
  58. #ifndef __UWINDOW__
  59. #include <UWindow.h>
  60. #endif
  61.  
  62. #ifndef __UMACAPPUTILITIES__
  63. #include <UMacAppUtilities.h>
  64. #endif
  65.  
  66. #ifndef __UMACAPPGLOBALS__
  67. #include <UMacAppGlobals.h>
  68. #endif
  69.  
  70. #ifndef __UDIALOG__
  71. #include <UDialog.h>
  72. #endif
  73.  
  74.  
  75. // --------------------------------------------------------------------------------
  76.  
  77. DeclareClassDesc(TDialogsApplication);
  78.  
  79. class TDialogsApplication: public TApplication {
  80.  
  81.     DeclareClass(TDialogsApplication);
  82.  
  83. public:
  84.      virtual void IDialogsApplication();
  85.      virtual void HandleFinderRequest();                                    // override
  86. };    
  87.  
  88.  
  89. // --------------------------------------------------------------------------------
  90.  
  91. DeclareClassDesc(TModelessView);
  92.  
  93. class TModelessView: public TDialogView {
  94.  
  95.     DeclareClass(TModelessView);
  96.  
  97. public:
  98.    void  DoEvent(EventNumber    eventNumber,
  99.                       TEventHandler*    source, 
  100.                       TEvent*        event);// override 
  101. };    
  102.  
  103.  
  104. #endif
  105.